export const tableItem = [
    {
        prop: 'code',
        label: '导入编号',
        minWidth: '200',
    },
    {
        prop: 'fileName',
        label: '导入文件名称',
        minWidth: '300',
    },
    {
        prop: 'fileSize',
        label: '文件大小',
        minWidth: '100',
    },
    {
        prop: 'createTime',
        label: '创建时间',
        minWidth: '180',
    },
    {
        prop: 'todo',
        label: '操作',
        width: '200',
        fixed: !window.isSmallScreen ? 'right' : false,
        slotName: 'todo',
        showOverflowTooltip: false,
    },

]
export default () => {
    return {
        tableItem,
        elTableConfig: {
            tooltipOptions: {
                popperClass: 'lmw_popper',
                effect: 'light',
            },
            stripe: false,
            rowKey: 'mailImportHistoryId',
            showOverflowTooltip: false,
        },
        showIndex: true,
        showChoose: true,
        pagination: true,
        // border: false,
    }
}
